import tab from '@/pages/members/template/tab.vue';
import effectLock from './template/effectLock.vue';
import invalidLock from './template/invalidLock.vue';

export default {
  name:'smartLock',
  data:() => ({
    leaseTab:['有效门锁','失效门锁'],
    idx:0
  }),
  components:{
    tab,
    effectLock,
    invalidLock,
  },
  methods:{
    tabActive(data){
      console.log(data.idx);
      this.idx = data.idx;
    }
  }
}
